package com.sec.etech.employeesync.sapquery.util;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;

public class SapParamsBuilder {
    public static JSONArray buildItDatum() {
        JSONArray itDatumArray = new JSONArray();
        JSONObject itDatum = new JSONObject();
        itDatum.put("SIGN", "I");
        itDatum.put("OPTION", "BT");
        itDatum.put("LOW", "19491001");
        itDatum.put("HIGH", "99991231");
        itDatumArray.add(itDatum);
        return itDatumArray;
    }

    public static JSONArray buildItPernr(String account) {
        JSONArray itPernrArray = new JSONArray();
        JSONObject itPernr = new JSONObject();
        itPernr.put("SIGN", "I");
        itPernr.put("OPTION", "EQ");
        itPernr.put("LOW", account);
        itPernrArray.add(itPernr);
        return itPernrArray;
    }
}
